package com.kuaifawu.lwnlawyerclient.Lib;

import com.kuaifawu.lwnlawyerclient.Activity.MainActivity;
import com.kuaifawu.lwnlawyerclient.Lib.photoselector.model.PhotoModel;

import java.util.ArrayList;

/**
 * Created by zhangminglei on 15/1/15.
 * 控制中心
 */
public class KFWActivityCenter {
    private static KFWActivityCenter ourInstance = new KFWActivityCenter();
    private MainActivity main_activity;
    private ArrayList<PhotoModel>array_model;
    //  0-从编辑头像和上传照片进入
    //  1-从订单中心进入给客户传图片
    //  2-从订单详情步骤进入的上传图片
    private int takephoto_state = 0;
    //  订单id
    private String order_id = null;

    public static KFWActivityCenter getInstance() {
        return ourInstance;
    }

    public MainActivity getMain_activity() {
        return main_activity;
    }

    public void setMain_activity(MainActivity main_activity) {
        this.main_activity = main_activity;
    }

    public ArrayList<PhotoModel> getArray_model() {
        return array_model;
    }

    public void setArray_model(ArrayList<PhotoModel> array_model) {
        this.array_model = array_model;
    }

    public int getTakephoto_state() {
        return takephoto_state;
    }

    public void setTakephoto_state(int takephoto_state) {
        this.takephoto_state = takephoto_state;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }
}
